Optimal. Leaf size=113 \[ \frac {3^{-1-n} \left (-\cosh ^{-1}(a x)\right )^{-n} \cosh ^{-1}(a x)^n \Gamma \left (1+n,-3 \cosh ^{-1}(a x)\right )}{8 a^3}+\frac {\left (-\cosh ^{-1}(a x)\right )^{-n} \cosh ^{-1}(a x)^n \Gamma \left (1+n,-\cosh ^{-1}(a x)\right )}{8 a^3}+\frac {\Gamma \left (1+n,\cosh ^{-1}(a x)\right )}{8 a^3}+\frac {3^{-1-n} \Gamma \left (1+n,3 \cosh ^{-1}(a x)\right )}{8 a^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 113, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 4, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {5887, 5556,
3389, 2212} \begin {gather*} \frac {3^{-n-1} \cosh ^{-1}(a x)^n \left (-\cosh ^{-1}(a x)\right )^{-n} \text {Gamma}\left (n+1,-3 \cosh ^{-1}(a x)\right )}{8 a^3}+\frac {\cosh ^{-1}(a x)^n \left (-\cosh ^{-1}(a x)\right )^{-n} \text {Gamma}\left (n+1,-\cosh ^{-1}(a x)\right )}{8 a^3}+\frac {\text {Gamma}\left (n+1,\cosh ^{-1}(a x)\right )}{8 a^3}+\frac {3^{-n-1} \text {Gamma}\left (n+1,3 \cosh ^{-1}(a x)\right )}{8 a^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2212
Rule 3389
Rule 5556
Rule 5887
Rubi steps
\begin {align*} \int x^2 \cosh ^{-1}(a x)^n \, dx &=\frac {\text {Subst}\left (\int x^n \cosh ^2(x) \sinh (x) \, dx,x,\cosh ^{-1}(a x)\right )}{a^3}\\ &=\frac {\text {Subst}\left (\int \left (\frac {1}{4} x^n \sinh (x)+\frac {1}{4} x^n \sinh (3 x)\right ) \, dx,x,\cosh ^{-1}(a x)\right )}{a^3}\\ &=\frac {\text {Subst}\left (\int x^n \sinh (x) \, dx,x,\cosh ^{-1}(a x)\right )}{4 a^3}+\frac {\text {Subst}\left (\int x^n \sinh (3 x) \, dx,x,\cosh ^{-1}(a x)\right )}{4 a^3}\\ &=-\frac {\text {Subst}\left (\int e^{-3 x} x^n \, dx,x,\cosh ^{-1}(a x)\right )}{8 a^3}-\frac {\text {Subst}\left (\int e^{-x} x^n \, dx,x,\cosh ^{-1}(a x)\right )}{8 a^3}+\frac {\text {Subst}\left (\int e^x x^n \, dx,x,\cosh ^{-1}(a x)\right )}{8 a^3}+\frac {\text {Subst}\left (\int e^{3 x} x^n \, dx,x,\cosh ^{-1}(a x)\right )}{8 a^3}\\ &=\frac {3^{-1-n} \left (-\cosh ^{-1}(a x)\right )^{-n} \cosh ^{-1}(a x)^n \Gamma \left (1+n,-3 \cosh ^{-1}(a x)\right )}{8 a^3}+\frac {\left (-\cosh ^{-1}(a x)\right )^{-n} \cosh ^{-1}(a x)^n \Gamma \left (1+n,-\cosh ^{-1}(a x)\right )}{8 a^3}+\frac {\Gamma \left (1+n,\cosh ^{-1}(a x)\right )}{8 a^3}+\frac {3^{-1-n} \Gamma \left (1+n,3 \cosh ^{-1}(a x)\right )}{8 a^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 95, normalized size = 0.84 \begin {gather*} \frac {3^{-1-n} \left (-\cosh ^{-1}(a x)\right )^{-n} \cosh ^{-1}(a x)^n \Gamma \left (1+n,-3 \cosh ^{-1}(a x)\right )+\left (-\cosh ^{-1}(a x)\right )^{-n} \cosh ^{-1}(a x)^n \Gamma \left (1+n,-\cosh ^{-1}(a x)\right )+\Gamma \left (1+n,\cosh ^{-1}(a x)\right )+3^{-1-n} \Gamma \left (1+n,3 \cosh ^{-1}(a x)\right )}{8 a^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 1.49, size = 0, normalized size = 0.00 \[\int x^{2} \mathrm {arccosh}\left (a x \right )^{n}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{2} \operatorname {acosh}^{n}{\left (a x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^2\,{\mathrm {acosh}\left (a\,x\right )}^n \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________